<?php
namespace Common\Model;
use Common\Model\AiModel;
class KnowledgeModel extends AiModel {
    public function blist($num){
        $dbinfo=$this->limit($num)->field('id,ctime,img,read,title')->select();
        foreach ($dbinfo as $key => $value) {
      	$dbinfo[$key]['ctime']=date('Y-m-d H:i',$value['ctime']);
      }
        return $dbinfo;
    }
    
}